package com.syni.mdd.yhd.common.all.dao.jpa;

import com.syni.mdd.yhd.common.all.dao.BaseJPADao;
import com.syni.mdd.yhd.common.all.entity.BmsBusinessFlow;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;

import java.util.List;

public interface BmsBusinessFlowDao extends BaseJPADao<BmsBusinessFlow,Integer> {
    BmsBusinessFlow findByFlowIdAndIsDelete(String flowId,Integer isDelete);

    List<BmsBusinessFlow> findByBusinessId(Integer businessId, Pageable pageable);

    List<BmsBusinessFlow> findByBusinessId(Integer businessId);

}
